package com.aopStudy.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@ComponentScan(basePackages = {"com.aopStudy.service", "com.aopStudy.advice"})
@EnableAspectJAutoProxy // 开启aspectj的注解
public class JavaConfig {

}
